/*  1:   */ package gcs.com.staticValue;
/*  2:   */ 
/*  3:   */ import gcs.com.util.DateUtils;
/*  4:   */ import java.util.ArrayList;
/*  5:   */ import java.util.Date;
/*  6:   */ import java.util.List;
/*  7:   */ 
/*  8:   */ public class StaticValue
/*  9:   */ {
/* 10:10 */   private static String webserviceUrl = "http://127.0.0.1:8088/AppCustomProtocolClient?WSDL";
/* 11:12 */   private static String webserviceNameSpace = "http://service.com/";
/* 12:14 */   private static List<String> receiveMsgList = new ArrayList();
/* 13:   */   
/* 14:   */   public static List<String> getReceiveMsgList()
/* 15:   */   {
/* 16:17 */     return receiveMsgList;
/* 17:   */   }
/* 18:   */   
/* 19:   */   public static void setWebserviceUrl(String webserviceUrl)
/* 20:   */   {
/* 21:23 */     webserviceUrl = webserviceUrl;
/* 22:   */   }
/* 23:   */   
/* 24:   */   public static void setWebserviceNameSpace(String webserviceNameSpace)
/* 25:   */   {
/* 26:29 */     webserviceNameSpace = webserviceNameSpace;
/* 27:   */   }
/* 28:   */   
/* 29:   */   public static void setReceiveMsgList(List<String> receiveMsgList)
/* 30:   */   {
/* 31:35 */     receiveMsgList = receiveMsgList;
/* 32:   */   }
/* 33:   */   
/* 34:   */   public static void addMsg(String msg)
/* 35:   */   {
/* 36:42 */     msg = 
/* 37:43 */       DateUtils.dateFormat(new Date(), "yyyy-MM-dd HH:mm:ss") + "定制单元接收到前端发送的消息：" + msg + "\n";
/* 38:44 */     receiveMsgList.add(msg);
/* 39:   */   }
/* 40:   */   
/* 41:   */   public static void sendMsg(String msg, String url, String ns)
/* 42:   */   {
/* 43:49 */     msg = 
/* 44:50 */       DateUtils.dateFormat(new Date(), "yyyy-MM-dd HH:mm:ss") + "定制单元向“" + url + "”的后端webservice发送消息：" + msg + "\n";
/* 45:51 */     receiveMsgList.add(msg);
/* 46:   */   }
/* 47:   */   
/* 48:   */   public static void sendMsgReceive(String msg, String url, String ns)
/* 49:   */   {
/* 50:56 */     msg = 
/* 51:57 */       DateUtils.dateFormat(new Date(), "yyyy-MM-dd HH:mm:ss") + "定制单元接收到“" + url + "”的后端返回消息：" + msg + "\n";
/* 52:58 */     receiveMsgList.add(msg);
/* 53:   */   }
/* 54:   */   
/* 55:   */   public static void receiveMsg(String msg)
/* 56:   */   {
/* 57:63 */     msg = 
/* 58:64 */       DateUtils.dateFormat(new Date(), "yyyy-MM-dd HH:mm:ss") + "服务端处理完毕，返回消息：" + msg + "\n";
/* 59:65 */     receiveMsgList.add(msg);
/* 60:   */   }
/* 61:   */   
/* 62:   */   public static void clearMsg()
/* 63:   */   {
/* 64:70 */     receiveMsgList.clear();
/* 65:   */   }
/* 66:   */   
/* 67:   */   public static String getWebserviceUrl()
/* 68:   */   {
/* 69:74 */     return webserviceUrl;
/* 70:   */   }
/* 71:   */   
/* 72:   */   public static String getWebserviceNameSpace()
/* 73:   */   {
/* 74:80 */     return webserviceNameSpace;
/* 75:   */   }
/* 76:   */ }


/* Location:           C:\Users\zhoubo\Desktop\classes\
 * Qualified Name:     gcs.com.staticValue.StaticValue
 * JD-Core Version:    0.7.0.1
 */